package com.bytz.modules.cms.domain.model.pay;

import com.bytz.modules.cms.order.model.OfflinePayIn;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 支付入参基类
 * @author shanxuezhong
 */
@Getter
@Setter
@EqualsAndHashCode
public class PayInBase {

    @NotEmpty(message = "订单Id不能为空")
    @ApiModelProperty("订单Id")
    private String orderId;

    @ApiModelProperty("线下付款")
    private List<OfflinePayIn> offlinePays;

    @ApiModelProperty("支付口令")
    private String paymentPassword;
}
